projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d212ae
)
render: Clip the correct rectangle
author
Benjamin Otte
<otte@redhat.com>
Tue, 8 Nov 2016 01:15:43 +0000
(
02:15
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 8 Nov 2016 01:32:29 +0000
(
02:32
+0100)
We translated before.
gtk/gtkrenderbackground.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrenderbackground.c
b/gtk/gtkrenderbackground.c
index 80e17dcb183a0fc738630dbd64a3f0003c599201..c3bc5cd2de7faa2162cc6b4847a431ba3786c78b 100644
(file)
--- a/
gtk/gtkrenderbackground.c
+++ b/
gtk/gtkrenderbackground.c
@@
-387,7
+387,7
@@
gtk_css_style_render_background (GtkCssStyle *style,
if (needs_push_group)
{
cairo_save (cr);
- cairo_rectangle (cr,
x, y
, width, height);
+ cairo_rectangle (cr,
0, 0
, width, height);
cairo_clip (cr);
cairo_push_group (cr);
}